package lazy2.util;

import java.io.Closeable;
import java.io.IOException;

public class IOUtil {
	public static final void closeAll(Closeable...closeables) {
		if(closeables!=null) {
			for(Closeable closeable:closeables) {
				if(closeable==null) continue;
				try {
					closeable.close();
				} catch (IOException e) {}
			}
		}
	}
}
